import request from '../utils/request'

export const getPage = (params: any) => request({
    method: 'get',
    url: '/getPokemonPage',
    params
})

export const getPokemon = (params: any) => request({
    method: 'get',
    url: '/getPokemon',
    params
})

export const deletePokemon = (params: any) => request({
    method: 'post',
    url: '/deletePokemon',
    data:params
})